package com.service.impl;

import com.mapper.AnnouncementMapper;
import com.service.AnnouncementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 宣传信息管理 Service 实现类
 * </p>
 * @author 34448
 */
@Service
public class AnnouncementServiceImpl implements AnnouncementService {

    @Autowired
    private AnnouncementMapper announcementMapper;

    @Override
    public Integer countAnnouncementPublications() {
        return announcementMapper.countAnnouncementPublications();
    }
}